import request from '@/utils/request'
//曝气算法分析报告
export function aerationResultReport(query) {
  return request({
    url: '/robot/videohis/list',
    method: 'get',
    params: query
  })
}
//曝气算法分析结果
export function gasResultReport(query) {
  return request({
    url: '/robot/aerationresult/gasresultreport',
    method: 'get',
    params: query
  })
}
//曝气算法巡检点报警数量统计
export function AerationPointCount(query) {
  return request({
    url: '/robot/aerationresult/aerationpointchartcount',
    method: 'get',
    params: query
  })
}
//曝气算法结果列表
export function listAerationResult(query) {
  return request({
    url: '/robot/aerationresult/list',
    method: 'get',
    params: query
  })
}
//曝气算法报告
export function listAerationPort(query) {
  return request({
    url: '/robot/aerationresult/aerationreport',
    method: 'get',
    params: query
  })
}
//曝气算法报告，不分页
export function listAerationPortOnPage(query) {
  return request({
    url: '/robot/aerationresult/aerationreportonpage',
    method: 'get',
    params: query
  })
}
//删除算法分析结果
export function delAerationResult(id) {
  return request({
    url: '/robot/aerationresult/remove/' + id,
    method: 'delete'
  })
}
//查询算法视频分析结果
export function getResultVideo(videoname) {
  return request({
    url: '/robot/aerationresult/getresultvideo/' + videoname,
    method: 'get'
  })
}
//获取原视频
export function getUploadVideo(videoname) {
  return request({
    url: '/robot/aerationresult/getuploadvideo/' + videoname,
    method: 'get'
  })
}
